home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 1 / ACE CD 1.iso / files / games / 1-l / arcpoolh.lha / Pool / HD_FIX_NOTES next >
Encoding:
Text File  |  1992-11-10  |  5.8 KB  |  256 lines

  1. _______________________________________________________________________________
  2.  
  3.                       LSd Presents Arcade Pool HD-FIX
  4.  
  5.             _ __ _ ____ _/\ /\_ /\_______/\___                   
  6.                         .--\_ Y _//  ________ \
  7.                         |M  |   |/\____ \   |  \
  8.                         |R _|   / \\_ | \\_ H  \\____ __ _ _ _ 
  9.                         |V \  ______/_____/____  /
  10.                         `---\/-----\/----------\/                            
  11.  
  12.                                 HD-Fix By:
  13.                             tHE rAPtOr of LSd!
  14. _______________________________________________________________________________
  15.  
  16.  
  17. This is a small patch for the HD-INSTALL version of Arcade pool (Team 17)
  18. performed by Cobra of A((ESS (using the Paradox Version). It patches the 
  19. disk access routines so that you can play the game tournaments without the
  20. disk error, "Error: No disk in drive" or "Insert game disk..." prompts.
  21.  
  22. This patch does not attempt to remedy the "save" game option, it still
  23. requires a disk in the drive for you to use this option.
  24.  
  25. Simply replace the supplied "Pool.exe" file with the old version and
  26. you can play the tournaments without any problems.
  27.  
  28.  
  29.  
  30.  
  31. If your a coder/cracker/etc. and are interested in the ATN! (Team 17) 
  32. decruncher then cut the supplied decruncher source-code below for your
  33. own uses. You can use this to decrunch all the gfx piccies and snd`s...
  34.  
  35. _______________________________________________________________________________
  36.  
  37. -CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-
  38. _______________________________________________________________________________
  39.  
  40.  
  41. ******************************************************************************
  42. * Team-17 (ATN!) Decompresser                     By Stephen Boberg
  43. * ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  44. * $Inputs:    a0.l    =    Source Ptr.        (packed data)
  45. *        a1.l    =    Destination Ptr.    (depacked data buffer)
  46. *
  47. * $Notes:    The ATN! Compressor is based upon Stephens earlier attempt at
  48. *        a cruncher, namely "DEFJAM PACKER"... Its a more efficient
  49. *        fast updated version of it... (anyone still remember it?)
  50. *        Stephan was AntiAction of Defjam and cracked lots of games
  51. *        years ago but now he does commercial stuff. This decompressor
  52. *        can be used to decompress all Team-17 games, eg; SuperFrog
  53. *        Arcade pool, etc.
  54. *
  55. *        Decompression minimum Safe Distance is 8 bytes.
  56. ******************************************************************************
  57.  
  58. Test:        lea    Data(pc),a0        ;source
  59.         lea    Data+8(pc),a1        ;destination
  60.         bsr.b    ATN_Decr
  61.         rts
  62.  
  63.  
  64.  
  65. ATN_Decr:    cmp.l    #"ATN!",(a0)        ;is this file ATN! Packed?
  66.         beq.s    isATN
  67.         rts        
  68. isATN:        movem.l    d2-d5/a2-a4,-(sp)
  69.         move.l    a0,a3
  70.         move.l    a1,a4
  71.         move.l    a1,a5
  72.         tst.l    (a0)+            ;skip atn header "ATN!"
  73.         add.l    (a0)+,a4        ;unpacked length (original)
  74.         add.l    (a0)+,a3        ;packed length   (packed)
  75.         move.l    a3,a2
  76.         move.l    (a2)+,-(a0)
  77.         move.l    (a2)+,-(a0)
  78.         move.l    (a2)+,-(a0)
  79.         move.l    (a2)+,d2
  80.         move.w    (a2)+,d3
  81.         bmi.s    ATN_300
  82.         subq.l    #1,a3
  83. ATN_300        lea    -$1C(sp),sp
  84.         move.l    sp,a1
  85.         moveq    #6,d0
  86. ATN_308        move.l    (a2)+,(a1)+
  87.         dbra    d0,ATN_308
  88.         move.l    sp,a1
  89.         moveq    #0,d4
  90. ATN_312        tst.l    d2
  91.         beq.s    ATN_31C
  92. ATN_316        move.b    -(a3),-(a4)
  93.         subq.l    #1,d2
  94.         bne.s    ATN_316
  95. ATN_31C        cmp.l    a4,a5
  96.         bcs.s    ATN_334
  97.         lea    $1C(sp),sp
  98.         moveq    #-1,d0
  99.         cmp.l    a3,a0
  100.         beq.s    ATN_32C
  101.  
  102. ATN_32A        moveq    #0,d0
  103. ATN_32C        movem.l    (sp)+,d2-d5/a2-a4
  104.         tst.l    d0
  105.         rts
  106.  
  107. ATN_334        add.b    d3,d3
  108.         bne.s    ATN_33C
  109.         move.b    -(a3),d3
  110.         addx.b    d3,d3
  111. ATN_33C        bcc.s    ATN_3A2
  112.         add.b    d3,d3
  113.         bne.s    ATN_346
  114.         move.b    -(a3),d3
  115.         addx.b    d3,d3
  116. ATN_346        bcc.s    ATN_39C
  117.         add.b    d3,d3
  118.         bne.s    ATN_350
  119.         move.b    -(a3),d3
  120.         addx.b    d3,d3
  121. ATN_350        bcc.s    ATN_396
  122.         add.b    d3,d3
  123.         bne.s    ATN_35A
  124.         move.b    -(a3),d3
  125.         addx.b    d3,d3
  126. ATN_35A        bcc.s    ATN_390
  127.         add.b    d3,d3
  128.         bne.s    ATN_364
  129.         move.b    -(a3),d3
  130.         addx.b    d3,d3
  131. ATN_364        bcc.s    ATN_36C
  132.         move.b    -(a3),d4
  133.         moveq    #3,d0
  134.         bra.s    ATN_3A6
  135. ATN_36C        add.b    d3,d3
  136.         bne.s    ATN_374
  137.         move.b    -(a3),d3
  138.         addx.b    d3,d3
  139. ATN_374        addx.b    d4,d4
  140.         add.b    d3,d3
  141.         bne.s    ATN_37E
  142.         move.b    -(a3),d3
  143.         addx.b    d3,d3
  144. ATN_37E
  145.         addx.b    d4,d4
  146.         add.b    d3,d3
  147.         bne.s    ATN_388
  148.         move.b    -(a3),d3
  149.         addx.b    d3,d3
  150. ATN_388
  151.         addx.b    d4,d4
  152.         addq.b    #6,d4
  153.         moveq    #3,d0
  154.         bra.s    ATN_3A6
  155.  
  156. ATN_390        moveq    #5,d4
  157.         moveq    #3,d0
  158.         bra.s    ATN_3A6
  159.  
  160. ATN_396        moveq    #4,d4
  161.         moveq    #2,d0
  162.         bra.s    ATN_3A6
  163.  
  164. ATN_39C        moveq    #3,d4
  165.         moveq    #1,d0
  166.         bra.s    ATN_3A6
  167.  
  168. ATN_3A2        moveq    #2,d4
  169.         moveq    #0,d0
  170. ATN_3A6        moveq    #0,d5
  171.         move.w    d0,d1
  172.         add.b    d3,d3
  173.         bne.s    ATN_3B2
  174.         move.b    -(a3),d3
  175.         addx.b    d3,d3
  176. ATN_3B2        bcc.s    ATN_3CA
  177.         add.b    d3,d3
  178.         bne.s    ATN_3BC
  179.         move.b    -(a3),d3
  180.         addx.b    d3,d3
  181. ATN_3BC        bcc.s    ATN_3C6
  182.         move.b    ATNB_42A(pc,d0.w),d5
  183.         addq.b    #8,d0
  184.         bra.s    ATN_3CA
  185.  
  186. ATN_3C6        moveq    #2,d5
  187.         addq.b    #4,d0
  188. ATN_3CA
  189.         move.b    ATNB_42E(pc,d0.w),d0
  190. ATN_3CE
  191.         add.b    d3,d3
  192.         bne.s    ATN_3D6
  193.         move.b    -(a3),d3
  194.         addx.b    d3,d3
  195. ATN_3D6
  196.         addx.w    d2,d2
  197.         subq.b    #1,d0
  198.         bne.s    ATN_3CE
  199.         add.w    d5,d2
  200.         moveq    #0,d5
  201.         move.l    d5,a2
  202.         move.w    d1,d0
  203.         add.b    d3,d3
  204.         bne.s    ATN_3EC
  205.         move.b    -(a3),d3
  206.         addx.b    d3,d3
  207. ATN_3EC
  208.         bcc.s    ATN_408
  209.         add.w    d1,d1
  210.         add.b    d3,d3
  211.         bne.s    ATN_3F8
  212.         move.b    -(a3),d3
  213.         addx.b    d3,d3
  214. ATN_3F8
  215.         bcc.s    ATN_402
  216.         move.w    d3,$dff180        ;DEFJAM style colours flash
  217.         move.w    8(a1,d1.w),a2
  218.         addq.b    #8,d0
  219.         bra.s    ATN_408
  220.  
  221. ATN_402
  222.         move.w    0(a1,d1.w),a2
  223.         addq.b    #4,d0
  224. ATN_408
  225.         move.b    $10(a1,d0.w),d0
  226. ATN_40C
  227.         add.b    d3,d3
  228.         bne.s    ATN_414
  229.         move.b    -(a3),d3
  230.         addx.b    d3,d3
  231. ATN_414
  232.         addx.l    d5,d5
  233.         subq.b    #1,d0
  234.         bne.s    ATN_40C
  235.         addq.w    #1,a2
  236.         add.l    d5,a2
  237.         add.l    a4,a2
  238.  
  239. ATN_420        move.b    -(a2),-(a4)
  240.         subq.b    #1,d4
  241.         bne.s    ATN_420
  242.  
  243.         bra.w    ATN_312
  244.  
  245. ATNB_42A    dc.b    6,10,10,18
  246. ATNB_42E    dc.b    1,1,1,1,2,3,3,4,4,5,7,14
  247.  
  248. Data        incbin    work:arcadepool/snd/chipsams.bin.aga
  249. buffer        dcb.b    50000,0        ;unpack buffer
  250.  
  251. _______________________________________________________________________________
  252.  
  253. -CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-CUT-
  254. _______________________________________________________________________________
  255.  
  256.